package org.xhnews;

import net.rim.device.api.ui.UiApplication;

import org.xhnews.preferences.Preferences;

public class SystemEntry extends UiApplication {
	private static SystemEntry theApp;

	public static void main(String[] args) {
		theApp = new SystemEntry();
		System.out.println("app start...");
		Preferences.load();
		if (Preferences.running_count == 0){
			InitBo ib = new InitBo();
			ib.start();
		}
		StartupBo sb = new StartupBo();
		sb.start();
		theApp.enterEventDispatcher();
	}

	public SystemEntry() {

	}

}
